<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" 
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:ren="http://www.renyare.ru/NS/framework"
>

<xsl:import href="renyare.xsl"/>
<xsl:strip-space elements='*'/>

<xsl:template match="/">
<html>
<head><meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
<base href="{$linkbase}"/>
<link type="text/css" rel="stylesheet" href="{$skin}index.css"></link>
</head>
<body>

<xsl:for-each select="$parts/*">
	<div id="{name()}">
		<xsl:call-template select="." name="module"/>
	</div>
</xsl:for-each>

</body>
</html>
</xsl:template>

<xsl:template name="module">
<xsl:apply-templates select="." mode="module"/>
</xsl:template>

</xsl:stylesheet>
